<?php

$data = array('msg' => null, 'type' => 'department', 'table' => 'departments');

$data['search_fields'] = array(
  'building',
  'department',
);

$data['list_fields'] = array(
  'building_id',
);

$data['joins'] = array(
  'buildings'
);

$data['join_fields'] = array(
  '`building_id`=`buildings`.`id`'
);

$data['order'] = 'building, department';

?>
